import requests
# 设置代理IP
url='http://pv.sohu.com/cityjson'
proxy={
    'http':'http://t10422119804320:oynsb8dh@tps194.kd1api.com:15818',
    'https':'http://t10422119804320:oynsb8dh@tps194.kd1api.com:15818'
}
for i in range(5):
    response=requests.get(url=url,proxies=proxy)
    print(response.text)
